import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-treasure',
  templateUrl: './treasure.component.html',
  styleUrls: ['./treasure.component.css']
})
export class TreasureComponent implements OnInit {

  constructor() { }

  ngOnInit() {
  };
  addcart(a){
    console.log(a.id);
  };
  dubao = [
    {id:"0",image: "../../../assets/images/commodity.jpg",jinxing:"进行中",weida:"WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW",price:"2.00",jindu:'8%',jindufont:"进度",canyv:"136",canyvfont:"参与人次",shengyv:"64",shengyvfotn:"剩余人次"},
    {id:"1",image: "../../../assets/images/commodity.jpg",jinxing:"进行中",weida:"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",price:"4.00",jindu:'70%',jindufont:"进度",canyv:"13",canyvfont:"参与人次",shengyv:"4",shengyvfotn:"剩余人次"},
    {id:"2",image: "../../../assets/images/commodity.jpg",jinxing:"进行中",weida:"ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",price:"7.00",jindu:'15%',jindufont:"进度",canyv:"55",canyvfont:"参与人次",shengyv:"89",shengyvfotn:"剩余人次"},
    {id:"3",image: "../../../assets/images/commodity.jpg",jinxing:"进行中",weida:"YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY",price:"7.00",jindu:'15%',jindufont:"进度",canyv:"55",canyvfont:"参与人次",shengyv:"89",shengyvfotn:"剩余人次"}
  ];

}
